package com.example.weather_plus.data.model;

import java.io.Serializable;

import java.util.List;
import java.util.Date;


public class AQIInfo implements Serializable {
    private int code;
    private Date updateTime;
    private String fxLink;
    private Now now;


    // Getters and Setters and Constructors

    // Omitted for brevity, follow the pattern below

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public Now getNow() {
        return now;
    }


    public static class Now {
        private Date pubTime;
        private String aqi;
        private int level;
        private String category;
        private String primary;
        private String pm10;
        private String pm2p5;
        private String no;
        private String so2;
        private String co;
        private String o3;

        // Getters and Setters

        public Date getPubTime() {
            return pubTime;
        }

        public String getAqi() {
            return aqi;
        }

        public int getLevel() {
            return level;
        }

        public String getCategory() {
            return category;
        }

        public String getPrimary() {
            return primary;
        }

        public String getPm10() {
            return pm10;
        }

        public String getPm2p5() {
            return pm2p5;
        }

        public String getNo() {
            return no;
        }

        public String getSo2() {
            return so2;
        }

        public String getCo() {
            return co;
        }

        public String getO3() {
            return o3;
        }
    }

}

